{#include file="admin_header.htm"#}
<script type="text/javascript" src="js/selectAll.js"></script>
<script type="text/javascript" src="js/is_show.js"></script>
<div class="admin_main_nr_dbox">
  <table width="700" border="0" cellspacing="8" cellpadding="0" class="link_lan">
    <tr>
      <td width="97" height="22" align="center" background="images/article_category_bg.jpg" style="background-repeat:no-repeat">信息分類</td>
      <td>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $infotype eq ""#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype=&usertype={#$usertype#}&replyinfo={#$replyinfo#}">不限</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $infotype=="1"#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype=1&usertype={#$usertype#}&replyinfo={#$replyinfo#}">意見</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $infotype=="2"#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype=2&usertype={#$usertype#}&replyinfo={#$replyinfo#}">建議</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $infotype=="3"#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype=3&usertype={#$usertype#}&replyinfo={#$replyinfo#}">求助</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $infotype=="4"#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype=4&usertype={#$usertype#}&replyinfo={#$replyinfo#}">投訴</a></div>
<div class="clear"></div></td>
    </tr>
    <tr>
      <td height="22" align="center" background="images/article_category_bg.jpg" style="background-repeat:no-repeat">發表會員類型</td>
      <td>
	  <div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $usertype eq ""#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype={#$infotype#}&usertype=&replyinfo={#$replyinfo#}">不限</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $usertype=="1"#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype={#$infotype#}&usertype=1&replyinfo={#$replyinfo#}">企業會員</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $usertype=="2"#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype={#$infotype#}&usertype=2&replyinfo={#$replyinfo#}">個人會員</a></div>
<div class="clear"></div>
	  </td>
    </tr>
	    <tr>
      <td height="22" align="center" background="images/article_category_bg.jpg" style="background-repeat:no-repeat">是否回復</td>
      <td>
	  <div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $replyinfo eq ""#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype={#$infotype#}&usertype={#$usertype#}&replyinfo=">不限</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $replyinfo=="2"#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype={#$infotype#}&usertype={#$usertype#}&replyinfo=2">已回復</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $replyinfo=="1"#}background-color: #DFEDF7{#/if#}"><a href="?act=suggest_list&infotype={#$infotype#}&usertype={#$usertype#}&replyinfo=1">未回復</a></div>
<div class="clear"></div>
	  </td>
    </tr>
  </table>
  <table width="700" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><table width="150" border="0" cellspacing="2" cellpadding="0">
          <form action="?act=suggest_list" method="post" name="form3" id="form3">
            <tr>
              <td width="41">每頁：</td>
              <td width="20"><input name="perpage" type="text" id="perpage"  style="width:30px; height:15px; color:#666666; border:1px #97ADCE solid; text-align:center"  onkeyup="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');" value="{#$perpage#}" maxlength="3"onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/></td>
              <td width="81"><input  style="font-family:Arial; font-size:10px; height:22px;" type="submit" name="Submitok"  value="OK" /></td>
            </tr>
          </form>
      </table></td>
      <td width="61%"><table width="300"  border="0" align="right" cellpadding="0" cellspacing="2">
          <form action="?act=suggest_list" method="post" name="form2" id="form2">
            <tr>
              <td width="112" align="right">&nbsp;</td>
              <td width="130"><input name="key" type="text" id="key" style=" width:130px; height:15px; font-size:12px; background-image:url(images/zoom.png); background-repeat:no-repeat; padding-left:18px;" value="{#$key#}" maxlength="6" /></td>
              <td width="50"><input name="Submit4" type="submit"  value="搜索" style="height:24px; width:50px; font-size:12px;" /></td>
            </tr>
          </form>
      </table></td>
    </tr>
  </table>
  <form id="form1" name="form1" method="post" action="?act=del_feedback">
  <table width="700" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
    <tr>
      <td width="25" height="26" align="center" bgcolor="#D0E2F7" >
      <input type="checkbox" name="chkAll" title="全選/反選" onClick="selectAll()"/>	  </td>
      <td width="80" bgcolor="#D0E2F7"  >&nbsp;&nbsp;&nbsp;發表會員</td>
	        <td width="80" align="center" bgcolor="#D0E2F7"  >會員類型</td>
      <td width="50" align="center" bgcolor="#D0E2F7"  >分類</td>
      <td align="center"  bgcolor="#D0E2F7">內容</td>
      <td width="65" align="center" bgcolor="#D0E2F7"  >是否回復</td>
      <td width="120" align="center" bgcolor="#D0E2F7"  >發表時間</td>
      <td width="60" align="center" bgcolor="#D0E2F7"  >操作</td>
    </tr>
  </table>
    <table width="700" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="link_lan" >
      {#section name=list loop=$list#}
      <tr class="row">
      <td width="25" align="center" style="border-bottom:1px #CCCCCC solid; padding-left:2px;">
        <input name="y_id[]" type="checkbox" id="y_id" value="{#$list[list].id#}"  onclick="javascript:chkRow(this);"/>      </td>
        <td width="80" height="34" style="border-bottom:1px #CCCCCC solid">
		<span  onmousemove="showpup('內容：{#$list[list].feedback#} <span style=color:#999999>({#$list[list].addtime|date_format:"%Y-%m-%d | %H:%M"#})</span></br> 回復：{#if $list[list].reply==""#}<span style=color:#999999>管理員未回復</span>{#else#}{#$list[list].reply#}<span style=color:#999999>({#$list[list].feedbacktime|date_format:"%Y-%m-%d | %H:%M"#})</span>{#/if#}')" onmouseout="hidepup()" >
		{#$list[list].username#}</span>		</td>
		 <td width="80" align="center" style="border-bottom:1px #CCCCCC solid">
		{#if $list[list].usertype=="1"#}企業會員{#/if#}
		{#if $list[list].usertype=="2"#}個人會員{#/if#}
		</td>
        <td width="50" align="center" style="border-bottom:1px #CCCCCC solid">
		{#if $list[list].infotype=="1"#}意見{#/if#}
		{#if $list[list].infotype=="2"#}建議{#/if#}
		{#if $list[list].infotype=="3"#}求助{#/if#}
		{#if $list[list].infotype=="4"#}投訴{#/if#}		</td>
        <td style="border-bottom:1px #CCCCCC solid">
		<span  onmousemove="showpup('內容：{#$list[list].feedback#} <span style=color:#999999>({#$list[list].addtime|date_format:"%Y-%m-%d | %H:%M"#})</span></br> 回復：{#if $list[list].reply==""#}<span style=color:#999999>管理員未回復</span>{#else#}{#$list[list].reply#}<span style=color:#999999>({#$list[list].feedbacktime|date_format:"%Y-%m-%d | %H:%M"#})</span>{#/if#}')" onmouseout="hidepup()" >
		{#$list[list].feedback_str#}</span>		</td>
        <td width="65" align="center" style="border-bottom:1px #CCCCCC solid">
		{#if $list[list].replyinfo=="1"#}未回復{#else#}<span style="color:#999999">已回復</span>{#/if#}		</td>
        <td width="120" align="center" style="border-bottom:1px #CCCCCC solid">{#$list[list].addtime|date_format:"%Y-%m-%d | %H:%M"#}</td>
        <td width="60" align="center" style="border-bottom:1px #CCCCCC solid"><a href="?act=reply_feedback&id={#$list[list].id#}">回復</a> </td>
      </tr>
      {#sectionelse#}
  <tr>
    <td height="50" colspan="8" align="center">沒有任何記錄！</td>
  </tr>
      {#/section#}
    </table>
	{#if $list#}
	<table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="50">
		<input type="submit" name="delete" value="刪除所選" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" onclick="return confirm('你確定要刪除嗎？')"/>        
		</td>
      </tr>
    </table>
	{#/if#}
  </form>
	    <table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" align="center" cellpadding="0" cellspacing="0" class="link_page">
          <tr>
            <td height="40" align="center" >{#$page#}</td>
          </tr>
        </table></td>
      </tr>
    </table>
</div>
{#include file="admin_footer.htm"#}
</body>
</html>
